package com.skyjing.toolsuitls.java.adapter;

import android.databinding.ViewDataBinding;
import android.support.v7.widget.RecyclerView;


public class ViewHolder<T extends ViewDataBinding> extends RecyclerView.ViewHolder {

    public T t;

    public ViewHolder(ViewDataBinding binding) {
        super(binding.getRoot());
        t = (T) binding;
    }

    public T getT() {
        return t;
    }

}
